package com.example.contentcenter.configuration;

import feign.Logger;
import org.springframework.context.annotation.Bean;


/**
 * @author Zhang Yu
 * @description: feign的配置类,这个类不要加@Configuration注解,要不然会全局配置,或者让其与启动类不在一个包下也可以
 * @date 2024/7/12 10:14
 */
public class UserCenterFeignConfiguration {

    @Bean
    public Logger.Level level() {
        //让feign打印所有请求的细节
        return Logger.Level.FULL;
    }


}
